package com.joven.shelltest.utils.commandmodel;

import java.util.List;

/**
 * @Author wzj
 * @Date 2023-11-07 09:35
 **/
public class NetCommand extends Command{

    public NetCommand(List<Server> servers) {
        super(servers);
    }

    @Override
    public void execute() {
        for (Server server : servers){
            System.out.println("检查系统状态，查询网络状态");
            server.netStat();
        }
    }
}
